home *** CD-ROM | disk | FTP | other *** search
/ Canadian Geographic Explorer / Canadian Geographic Explorer.iso / pc / comp.z / GDB.HLP < prev    next >
Encoding:
Text File  |  1996-05-01  |  51.3 KB  |  1,272 lines

  1.  
  2. @title{GDB}{Generic Database Reference}
  3.  
  4.  PCI's Works programs, and some PACE programs use the Generic DataBase 
  5.  library (GDB) to access image and auxiliary information from data files.
  6.  This allows different file types to be used interchangeably where it makes 
  7.  sense for the file type.  
  8.  
  9.  Most file types do not support all types of possible data and access.
  10.  In fact only PCIDSK files support all possible data types.  The following 
  11.  topics will discuss the level of support and user implementation details
  12.  for each of the supported file types.
  13.  
  14. 1    Supported File Formats
  15. @keyword{Formats!Supported}
  16.  
  17.  The following file types are supported by the Generic DataBase library.
  18.  
  19. 2    ADRG
  20. @index{ADRG CD-ROM}
  21. @keyword{ADRG}{DIGEST}{CDROM}{CD-ROM}
  22.  
  23.  ADRG, a specific form of "DIGEST" data distributed on CD-ROM is
  24.  supported by the GDB layer.  ADRG CD-ROMs typically contain 3 image
  25.  channels and one or more images.
  26.  
  27.  Users should select the ".GEN" file which is located in a
  28.  subdirectory on the disk.  The name of this subdirectory varies with
  29.  each disk.  An example name is "/cdrom/jaus0101/jaus0101.gen".
  30.  
  31.  To select an image other than the default image, the image number is
  32.  specified as if it were a file in the ".GEN" file's directory.  As an
  33.  example, "/cdrom/cous0101/cous0101.gen/2" would select the second
  34.  file on a disk.
  35.  
  36.  Georeferencing information is gathered from the disk, but other text
  37.  and descriptive information is not.  Writing an ADRG disk is not
  38.  supported by the GDB layer.
  39.  
  40.  See Also: FIMPORT
  41.  
  42. 2    Arc/Info Generate
  43. @index{Arc/Info!Generate}{Generate (ArcInfo)}
  44. @keyword{Arc/Info Generate}
  45.  
  46.  Arc/Info Generate (or Ungenerate) files are supported by the GDB library.
  47.  They are represented as a single vector segment, with no other auxiliary
  48.  information.
  49.  
  50.  Generate files do not contain any georeferencing information, so the 
  51.  vectors are
  52.  assigned a georeferencing type of METRE.  Generate files contain one
  53.  numeric attribute which is imported and exported with the vector data.
  54.  
  55.  Generate files may be created by Works programs, and the FEXPORT PACE program.
  56.  Also, the PACE programs VECREAD and VECWRIT may be used to access Generate 
  57.  files, although these programs are not as reliable as FIMPORT and FEXPORT.
  58.  
  59.  See Also: {WORKS|Data File|File Creat}Works Create File, 
  60.        VECREAD, VECWRIT, FIMPORT, FEXPORT, {..|Arc/Info GRID}Grid
  61.  
  62. 2    Arc/Info Grid
  63. @index{Arc/Info!Grid}
  64. @keyword{Arc/Info Grid}
  65.  
  66.  Arc/Info ASCII Grid files are supported by the GDB library.  This file
  67.  format is compatible with the Arc/Info ASCIIGRID and GRIDASCII
  68.  commands, and consists of one raster layer.
  69.  
  70.  The ASCII Grid format is supported for import, and export and is always
  71.  represented as a single 16 bit signed raster layer.   It is likely that 
  72.  floating point grid files will not work at all.
  73.  
  74.  If a ``.prj'' file is in the same directory as the grid file, and has the
  75.  same basename as the grid file it will be read to obtain projection 
  76.  information.  Currently the only recognised projecion is UTM.  All other
  77.  files will be imported with a MAPUNITS string of ``METRE''.
  78.  
  79.  Is is not possible to LINK to Grid files as they are ASCII encoded.
  80.  
  81.  See Also: FIMPORT, FEXPORT, {..|Arc/Info Generate}Generate    
  82.  
  83. 2    Arc/Info Import/Export
  84. @index{Arc/Info!Import}
  85. @index{Arc/Info!Export}
  86. @keyword{Arc/Info Import Export ESRI}
  87.  
  88.  Arc/Info Import/Export files are supported by the GDB library for read
  89.  operations only.  Compressed forms of 
  90.  these files are not supported at this time.  The file is represented as a 
  91.  single vector segment, and assigned a georeferencing type of METRE.  
  92.  
  93.  Currently the ARC layer is read in as polylines with the USERID as the 
  94.  attribute.  The CNT (Centriods) and LAB (Labels) section are read in as 
  95.  points, and may contain attribute information.  Structures read in from 
  96.  ARC, CNT or LAB sections will have a corresponding GROUP of 1,2 and
  97.  3 respectively.
  98.  
  99.  Import/Export files may be read by Works programs and the FIMPORT PACE 
  100.  program.
  101.  
  102.  See Also: FIMPORT, {..|Arc/Info Generate}Generate    
  103.  
  104. 2    Arc/Info Shapefile
  105. @index{Arc/Info!Shapefile}
  106. @keyword{Shapefile Arc/Info ESRI ArcView}
  107.  
  108.  Arc/Info Shapefile files are supported by the GDB library for import and
  109.  export.  The Shapefile format contains vector and attribute information.
  110.  Typically, datasets include three files, with a common basename and the 
  111.  extensions .shp, .shx, and .dbf.  Shapefiles do not contain projection 
  112.  information
  113.  so all vectors will be reported as being in the georeferencing system  
  114.  "METRE" when imported.
  115.  
  116.  Shapefiles are currently supplied in four types, POINT, ARC, POLYGON, and
  117.  MULTIPOINT.  The POLYGON and MULTIPOINT layer types contain what ESRI calls
  118.  multi-part shapes.  For instance, a multipart polygon would be the outer
  119.  boundary, and all the interior holes in the polygon.  At this time the
  120.  shapefile translator does not preserve the parts information, instead 
  121.  merging all the parts of a shape into a simple vertex list.
  122.  
  123.  The shapefile attributes are stored in an xBase (.dbf) file which is also 
  124.  supported as a standalone GDB format.  Further details on the .dbf translator
  125.  can be found in the xBase topic.
  126.  
  127.  Shapefiles are produced by ArcView 2, and Arc/Info.  Within Arc/Info use
  128.  the ARCSHAPE command to export a coverage to a shapefile, or the SHAPEARC
  129.  command to import a shapefile and build a coverage.
  130.  
  131.  See Also: {..|}xBase, FIMPORT, FEXPORT
  132.  
  133. 2    Aries Image Format (DIPIX)
  134. @index{DIPIX (Aries) Image Format}
  135. @keyword{Aries}{DIPIX} 
  136.  
  137.  Some Aries (DIPIX) image files (.i suffix) are supported by the GDB 
  138.  library.  Only integer files (16/32 bit) are supported.
  139.  
  140.  Existing Aries files may be written to, but new files cannot be created
  141.  by Works programs.  
  142.  
  143.  See Also: LINK
  144.  
  145. 2    AutoCAD DXF
  146. @index{AutoCAD DXF Format}{DXF Format}
  147. @keyword{AutoCAD DXF}
  148.  
  149.  AutoCAD vectors in the form of a DXF (Data Interchange File)
  150.  file are supported by the GDB library
  151.  for both read or write operations, with certain limitations.
  152.  
  153.  For read operations the only entities supported are the POINTs, LINEs,
  154.  POLYLINEs and SOLIDs.  ARCs and CIRCLEs are also supported by approximating 
  155.  them with line segements.
  156.  
  157.  TEXTs are also supported: the character string is stored in the
  158.  "TextString" attribute and the orientation in the "Angle" attribute.
  159.  
  160.  Unsupported entities are represented by a point.  The
  161.  coordinate of this point is the first X,Y,Z coordinate of the unsupported 
  162.  entity.
  163.  
  164.  If some layers are defined in the TABLES section then one segment
  165.  will be created for each of them otherwise all entities will
  166.  be on the same layer.
  167.  
  168.  In read access, a Representation Table (RST) is built based on the drawing 
  169.  information that is available (line width, LTYPEs, etc).  Since this
  170.  table is built while reading the file, it should be queried only after
  171.  the file has been completely read in.  Each entity read is given a
  172.  "REPCode" attribute that points to an entry in this RST.  Finally there
  173.  is only one RST for the whole file, even if there are several layers.
  174.  
  175.  For write operations the only entites that are written out for now are, 
  176.  LINE and POINT entities.  Any ARC or CIRCLE entities that may have 
  177.  been read in will be written out has a series of approximating line 
  178.  segments.  And TEXTs will be written out as simple POINT entities.
  179.  
  180.  It is also possible to provide a RST when exporting.  In this case the
  181.  line types and TEXTs will be written back to the file.
  182.  
  183.  AutoCAD DXF files may be created by Works programs as well as PACE.  
  184.  The PACE programs FIMPORT and FEXPORT may also be used to import and 
  185.  export DXF vector data.
  186.  
  187.  See Also: {WORKS|Data File|File Creat}Works Create File, 
  188.        FIMPORT, FEXPORT
  189.  
  190. 2    BMP
  191. @index{Windows BMP Format}{OS/2 BMP Format}
  192. @keyword{BMP BuMP Windows OS/2}
  193.  
  194.  Windows and OS/2 BMP files are simple raster files.  They are a
  195.  common import and export format for applications under Windows and
  196.  OS/2.
  197.  
  198.  GDB supports the image variants that have 1, 8, or 24 bits per
  199.  pixel.  BMP files must be uncompressed to be read by GDB. 
  200.  GDB will produce a 24-bit file if three channels are saved,
  201.  an 8-bit file if one channel is saved, and a 1-bit file if a bitmap
  202.  is saved.  It is not legal to specify any other number of channels.
  203.  
  204.  GDB will update any type of supported BMP file, but if asked to
  205.  create a BMP file, it will create the Windows variant.  For FEXPORT, 
  206.  use the type name "BMP" to specify the BMP format.
  207.  
  208.  See Also: FIMPORT, FEXPORT
  209.  
  210. 2    CCOGIF
  211. @index{CCOGIF}
  212. @keyword{CCOGIF}
  213.  
  214.  The GDB library supports the CCOGIF 2.3 vector format.  This format
  215.  was produced by the Canadian Council on Geomatics as a standard file
  216.  exchange format for digital spatial data.  
  217.  
  218.  Only read access to CCOGIF format is available.  No attributes are 
  219.  imported with CCOGIF vectors, and the ``area'' structure is ignored.  
  220.  
  221.  Projection information is extracted from the CCOGIF file; however, only
  222.  the Transverse Mercator (TM) projection has been tested. 
  223.  
  224.  See Also: FIMPORT
  225.  
  226. 2    DEM (USGS Digital Elevation Model)
  227. @keyword{USGS File Formats}{DEM (USGS)}
  228.  
  229.  USGS 7.5 minute, and 1 degree ASCII DEM files are supported for reading 
  230.  by the GDB library.  USGS DEM files contain one 16 bit channel of 
  231.  elevation data, and no auxiliary data.  The UTM georeferencing information 
  232.  for the elevation data is also loaded from the DEM file.
  233.  
  234.  The Works programs currently do not support writing to an existing 
  235.  USGS DEM file, or creating new ones.  
  236.  
  237.  By definition USGS DEM files are supposed to be based on the NAD 27
  238.  (E0) datum; however, PCI has seen some that where based on the NAD 83
  239.  datum.  However, the GDB library cannot detect this, and will always 
  240.  report DEM files as being E0 (NAD27).
  241.  
  242.  The PACE tasks DEMREAD and DEMWRIT may also be used to read and write
  243.  USGS DEM files.
  244.  
  245.  See Also: DEMREAD, DEMWRIT, FIMPORT
  246.  
  247. 2    DLG (USGS Digital Line Graph)
  248. @keyword{USGS File Formats}{DLG}{Digital Line Graphs}
  249.  
  250.  USGS DLG (Digital Line Graphs) are supported for reading and writing by the
  251.  GDB Library. The full topology of a DLG file is not retained during a read 
  252.  operation.  Any Area information present in a DLG file will not be retained. 
  253.  In addition only the first attribute code of a line will be retained; all 
  254.  others will be skipped.
  255.  
  256.  DLG files written out by this program are equivalent to DLG level 2 files. 
  257.  When DLG files are written out, a node list is generated, and node to line as
  258.  well as line to node linkages are generated.  Since the full topology of the
  259.  file is not retained, the left and right area fields of a Line Record will
  260.  be initialized with a -1.
  261.  
  262.  USGS DLG files may be created by Works programs.  The DLGREAD and DLGWRIT
  263.  programs may also be used to import and export DLG format vector data.
  264.  
  265.  See Also: {WORKS|Data File|File Creat}Create File, 
  266.        DLGREAD, DLGWRIT, FIMPORT
  267.  
  268. 2    DOQ (USGS Digital Orthophoto Quadrangle)
  269. @keyword{USGS File Formats}{Digital Orthophoto Quadrangle}
  270.  
  271.  USGS digital orthophotos are supported by the GDB library for
  272.  read only. Digital orthophotos with embedded DEM information are not 
  273.  supported. 
  274.  
  275.  Georeferencing information (always UTM) is extracted from DOQ files, 
  276.  but auxiliary information cannot be accessed.
  277.  
  278.  Existing DOQ files can be written to, but new files cannot be created.
  279.  The PACE program LINK may also be used to access DOQ image data.
  280.  
  281.  See Also: LINK, FIMPORT
  282.  
  283. 2    DTED
  284. @keyword{DTED}
  285.  
  286.  The DMA's (Defense Mapping Agency) DTED (Digital Terrain Elevation Data) 
  287.  format is supported by the GDB library for reading and writing. Note
  288.  that writing is only supported for existing DTED files and there are no 
  289.  provisions for createing a new DTED file.
  290.  
  291.  The GDB layer supports the CD-ROM DTED format. Under the specification,
  292.  these files have an extension .dt1. They contain a user header label,
  293.  data set identification record, accuracy description record, and the
  294.  digital elevation information. The CD-ROM DTED format also implies
  295.  a hierarchical arrangement of files based on georeferencing. The GDB
  296.  layer does not understand this hierarchy and only knows how to read
  297.  a single .dt1 file.
  298.  
  299.  A DTED file covers a 1 degree by 1 degree area but its resolution
  300.  varies depending on which zone the file covers as well as what 
  301.  level the DTED file is.
  302.  
  303.  DTED files contain one 16 bit channel of elevation data and no auxiliary
  304.  data. The UTM georeferencing information for the elevation data is also
  305.  loaded from the DTED file. DTED data is based on the WGS84 (E012) datum.
  306.  
  307.  The Works programs currently support writing to an existing DTED file,
  308.  but not createing new ones.  
  309.  
  310.  The PACE task MIDTED can be used to read DTED files from tape into a 
  311.  PCI .pix database. 
  312.  
  313.  See Also: MIDTED, FIMPORT
  314.  
  315. 2    EOSAT CD-ROM
  316. @keyword{EOSAT Fast Format}{CDROM}
  317.  
  318.  EOSAT Fast Format is a tape format that has been extended to be used as a 
  319.  CDROM distribution format.  GDB library support has been added for
  320.  this format, at least as distributed by EOSAT, RadarSat and Indian Remote
  321.  Sensing Center.
  322.  
  323.  The directory and naming conventions for EOSAT Fast Format CDROMs may 
  324.  vary; however, the GDB library is only able to understand two file
  325.  naming conventions.  It may be possible to read EOSAT Fast Format 
  326.  CDROMs from other sources if the files are renamed to match one of
  327.  the following conventions.  
  328.  
  329.  - RadarSat CDROMs typically name the files as follows.
  330.  
  331.   /cdrom/SCENE01/VOLD_01.DAT    <--- Select this file.
  332.   /cdrom/SCENE01/BAND_01.DAT
  333.   /cdrom/SCENE01/BAND_02.DAT
  334.   /cdrom/SCENE01/BAND_03.DAT
  335.  
  336.  - EOSAT and Indian CDROMs typically name the files as follows.
  337.  
  338.   /cdrom/SAMPLES/LISS1/HEADER.DAT   <--- Select this file
  339.   /cdrom/SAMPLES/LISS1/BAND1.DAT
  340.   /cdrom/SAMPLES/LISS1/BAND2.DAT
  341.   /cdrom/SAMPLES/LISS1/BAND3.DAT
  342.  
  343.  Georeferencing information may be extracted for some precision geocoded
  344.  products.
  345.  
  346.  There is currently no support for generating EOSAT Fast Format datasets
  347.  with EASI/PACE.
  348.  
  349.  See Also: LINK, FIMPORT, MIEOSAT
  350.  
  351. 2    Erdas Imagine (.img)
  352. @keyword{Erdas}{Imagine}
  353.  
  354.  Erdas Imagine (.img) files are supported by the GDB library for import.
  355.  
  356.  Erdas image layers can be 8-bit, 16-bit unsigned, 16-bit signed or 32-bit
  357.  real.  Other layer types will cause access to the file to fail.
  358.  Note that 16-bit unsigned and 16-bit signed data will be imported as 32-bit
  359.  real.  The image layers must be uncompressed and contain no data holes.  
  360.  
  361.  Limited support for importing georeferencing information is included.  The
  362.  input bounds are read; however, the map units will be defaulted to METRE
  363.  except for UTM, SPCS, LONG and TM.  Note that the zone and other projection
  364.  information is suspect even for these georeferencing systems.
  365.  
  366.  See Also: {..|Erdas .GIS}Erdas .GIS and .LAN, FIMPORT
  367.  
  368. 2    Erdas .GIS and .LAN 
  369. @keyword{Erdas}{GIS}{LAN}
  370.  
  371.  Erdas version 7.4 .GIS and .LAN image files are supported by the 
  372.  GDB library.  In fact some files earlier than version 7.4 are also
  373.  supported, but the new version 8.0 files may not be supported.
  374.  
  375.  Erdas files can be 8 bit, or 16 bit unsigned.  If georeferencing 
  376.  information is present it will be read along with the data.  It is
  377.  also possible to create new Erdas files in Works programs using 
  378.  the ``New'' menu selection, and to write data to any Erdas file.
  379.  
  380.  Only the .GIS or .LAN files are read by the GDB library.  None of 
  381.  the auxiliary or trailer files are read or generated.
  382.  
  383.  The PACE programs FIMPORT, FEXPORT, ERDASWR, ERDASRD and ERDASHD may also 
  384.  be used to operate on Erdas files.  The program ERDASWR, ERDASRD and 
  385.  ERDASHD are not based on the GDB library and are not considered to be as
  386.  reliable as FIMPORT and FEXPORT.
  387.  
  388.  See Also: {WORKS|Data File|File Creat|Erdas}Works Create Panel, 
  389.        ERDASWR, ERDASRD, ERDASHD, FEXPORT, LINK, FIMPORT,
  390.        {..|Erdas Imagine}Erdas Imagine (.img)
  391.  
  392. 2    GRASS
  393. @keyword{GRASS}
  394.  
  395.  GRASS dig (vector) files as well as cell (raster) files are supported by the 
  396.  GDB library for read and write operations.  
  397.  
  398.  GRASS filenames may be specified in one of two ways.  If there is a .grassrc
  399.  file in the user's home directory, a simple filename may be given.  The file 
  400.  will then be placed in the correct layer for the file.  If the .grassrc is 
  401.  not present, the user must specify a path along with the filename.
  402.  
  403.  For vector files specified without a full path name and a .grassrc present, 
  404.  the dig (binary) version of the vector file will be read or written to before 
  405.  any ascii file.  To use an ascii vector file, a path name which includes a 
  406.  dig_ascii directory must be specified.
  407.  
  408.  The dig_plus file is not modified when a binary file is written to.  The user 
  409.  will have to use the grass program v.support to update the dig_plus file.
  410.  
  411.  When GRASS vectors are loaded, both Line and Area arcs are read in
  412.  as polylines.  The dig_att file is also read and processed.
  413.  Each line attribute is associated with its unique line arc.
  414.  Area attributes are read in as vector points with an attribute.
  415.  Area arcs will have an assigned attribute of 0.  No attempt
  416.  is made to assign area attributes to their particular AREA arcs.  
  417.  Georeferencing bounds are imported for vector layers, but the correct 
  418.  georeferencing system is only selected for UTM.  All others are mapped to
  419.  METER.
  420.  
  421.  When GRASS files are written, those lines read in as line arcs
  422.  or area arcs are written out as lines or arcs respectively.
  423.  Added lines are treated as line arcs.
  424.  Added points will be written out as degenerate line arcs.
  425.  Points that were read in as AREA attributes
  426.  will not be written.  These points will be written out only to the
  427.  dig_att file.
  428.  
  429.  The non-zero attribute of lines will be written out to the dig_att file.
  430.  The coordinate associated with the attribute will be the midpoint
  431.  between the first two vertices in the arc. ((P1+P2)/2)
  432.  
  433.  Any attributes read in as AREA attributes will be output unchanged
  434.  to the dig_att file.
  435.  
  436.  The LINK PACE program can also be used to access uncompressed GRASS
  437.  raster layers.  FIMPORT, FEXPORT and ImageWorks can be used to import and 
  438.  export GRASS layers.
  439.  
  440.  See Also: {WORKS|Data File|File Creat|GRASS}Works Create Panel, 
  441.        LINK, FIMPORT, FEXPORT
  442.  
  443. 2    GXF
  444.  
  445.  GXF Version 2.00 imagefile format is supported for import and export by
  446.  the GDB library.  GXF format is a simple ASCII formatted raster format.
  447.  Only one channel would exist in a GXF file, so the format would not be used
  448.  for multispectral imagery.  Only uncompressed image data is supported.
  449.  
  450.  Georeferencing is read and written for GXF files.  Once a GXF file is read, 
  451.  the georeferencing units might have to be changed from "METRE" to more
  452.  appropriate units.
  453.  
  454.  See Also: FIMPORT, FEXPORT, LINK
  455.  
  456. 2    HDF (Hierarchical Data Format)
  457. @keyword{HDF}{Hierarchical Data Format}{NCSA}{PathFinder}
  458.  
  459.  The GDB library supports various types of .HDF raster files.  In particular
  460.  simple eight bit raster (RI8), and Scientific Data Set (SDS) files should
  461.  be readable.  RI8 files may be run length encoded, while only uncompressed
  462.  SDS files are supported.
  463.  
  464.  Currently no auxiliary data or georeferencing information is extracted from
  465.  HDF files.  
  466.  
  467.  RI8 files consist of 8-bit run length encoded, or uncompressed imagery.
  468.  SDS files may contain 8-bit, 16-bit, or floating point image channels
  469.  (floating point channels have not been tested).  NASA-generated PAL data
  470.  is also supported.  The Vset extensions to HDF files are not supported.
  471.  
  472.  The HDF format was developed by the National Center for Supercomputing
  473.  Applications (NCSA), which maintains a library for accessing HDF files,
  474.  and various applications for displaying and operating on HDF files.
  475.  
  476.  All PCIDSK support datatypes may be exported to HDF format files using
  477.  the FEXPORT PACE program, though exporting more than one data type in
  478.  a single HDF file is not currently supported.  HDF files may have associated
  479.  georeferencing information stored in an .aux file, and FEXPORT will export
  480.  georeferencing information in an .aux file.
  481.  
  482.  See Also: LINK, FIMPORT, FEXPORT
  483.  
  484. 2    HIDISK (HI-VIEW image format)
  485. @index{HIDISK}
  486. @keyword{HIDISK}{HI-VIEW}
  487.  
  488.  The HIDISK image format used by the Horler Information Inc. HI-VIEW software
  489.  (Version 111) is supported by the GDB library for reading.  Writing in this
  490.  format has not been implemented.
  491.  
  492.  8-bit unsigned, 16-bit signed, 16-bit unsigned and 32-bit real data will
  493.  be read.  (32-bit signed integer data is not supported.)
  494.  
  495.  See Also: LINK, FIMPORT
  496.  
  497. 2    Image Display Handler
  498.  
  499.  On Unix systems it is possible to access the display (ImageWorks
  500.  or the Handler) as if it were a file, via the GDB library.  Possible 
  501.  filenames that would refer to the display are ``VD00'', ``VD0:'', ``VD1:'',
  502.  ``VD2:'', or ``VD3:''.
  503.  
  504.  It is possible to access the image planes of the display as channels,
  505.  graphic planes as bitmaps, and vector layers as vector segments. 
  506.  The LUTs and PCTs are also accessible.  The overall georeferencing (ala Set 
  507.  Map Area) is also accessible.
  508.  
  509.  Note that the old Handler does not support georeferencing or vector layers.
  510.  
  511.  See Also: FIMPORT, CDLC, IIIC, {IWORKS}ImageWorks
  512.  
  513. 2    Intergraph Raster Files
  514. @keyword{Intergraph Raster Files}{Continuous Tone Files}{COT Files}{CFL Files}
  515.  
  516.  The GDB library supports some variants of the Intergraph Raster format. 
  517.  No auxiliary or georeferencing information is supported for Intergraph
  518.  Raster format files.  Intergraph raster files may have a variety of 
  519.  extensions including .rgb, .cot and .cfl.
  520.  
  521.  The supported sub-formats are grey scale continuous tone (type 2),
  522.  compressed RGB (type 27), and uncompressed RGB (type 28),
  523.  (type 28 has never been tested).
  524.  
  525.  Continuous Tone files cannot be created with Works programs, but 
  526.  the imagery on an existing file can be updated if it is not of
  527.  type 27.  Also the PACE LINK program can be used to access Intergraph
  528.  Raster data in type 2 and type 28 files.
  529.  
  530.  See Also: LINK, FIMPORT
  531.  
  532. 2    Joint Photographic Experts Group (JPEG) files
  533. @keyword{JPEG}
  534.  
  535.  The GDB library supports single scan JPEG files that contain 8 bit
  536.  grey scale or 24 bit colour images.  GDB will read both YCC and the
  537.  less common RGB colour space JPEG files, but will always write the
  538.  YCC variant.
  539.  
  540.  When writing a JPEG file, all three channels must be written at the
  541.  same time.  When reading a JPEG file, it is vastly more efficient to
  542.  read it in a pixel interleaved fashion, but reading in a band
  543.  interleaved fashion is supported (on average it will take three times
  544.  longer).
  545.  
  546.  The GDB JPEG support is based on the Independent JPEG Group's (IJG)
  547.  version 4 code.  A suite of public domain Unix tools for dealing with 
  548.  JPEG files is available by anonymous ftp from unix.hensa.ac.uk in the 
  549.  directory /pub/uunet/graphics/jpeg as jpegsrc.v4.tar.Z.  
  550.  
  551.  See Also: FIMPORT
  552.  
  553. 2    LAS Image Format
  554. @keyword{LAS Image Format}
  555.  
  556.  The LAS 5.0 Image File Format is supported for read access by the GDB 
  557.  library.  The LAS format is used to store various types of geocoded
  558.  image data.  Typically a LAS image will consist of several related files.
  559.  The two used by the GDB library are the .ddr and .img files.  The .ddr
  560.  files contains header information and geocoding, while the .img file
  561.  contains the actual imagery.  Either file may be used to refer to the
  562.  LAS image, but both must exist in the same directory with the same base
  563.  name.
  564.  
  565.  The GDB library supports reading and updating imagery on LAS files.  In some
  566.  circumstances it is also possible to read georeferencing information.  In
  567.  theory any of the USGS style projections may work, (only UTM has been tested).
  568.  There is currently no option to export imagery in LAS format.
  569.  
  570.  See Also: LINK, FIMPORT
  571.  
  572. 2    Laser-Scan
  573. @keyword{Laser-Scan}
  574.  
  575.  Five of the seven types of Laser-Scan image files are supported by 
  576.  the GDB library.  Functions exist to read, update and create Laser
  577.  Scan files, though image update of compressed files is not possible.
  578.  
  579.  There is no support for georeferencing, or any auxiliary data other than
  580.  pseudo-colour tables (PCTs) with Laser-Scan files.
  581.  
  582.  The supported Laser-Scan file types are:
  583.    - 2: Greyscale (uncompressed, LINKable)
  584.    - 3: PseudoColoured Image (compressed)
  585.    - 4: RGB (24-bit uncompressed, LINKable)
  586.    - 5: Bitmap (uncompressed)
  587.    - 7: PseudoColoured Image (uncompressed, LINKable)
  588.  
  589.  The RLE and PackBits compressed bitmap file types (1 and 6) are not supported
  590.  at this time.
  591.  
  592.  The type 3 compressed pseudocoloured image files use a simple run length
  593.  encoding scheme.  The image channel may not be updated after the initial
  594.  createion.  The pseudocolour table (PCT) may be stored in a related .PAL
  595.  file, in which case it is available to read.  If the .PAL file does not
  596.  exist the pseudocolours are lost.  .PAL files are not created on export,
  597.  and thus a PCT cannot be written out with a new pseudo-coloured file.
  598.  
  599.  See Also: {WORKS|Data File|File Creat|Laser}Works Create Panel,
  600.            LINK, FIMPORT, FEXPORT
  601.  
  602. 2    LaserScan IFF Text
  603. @index{LaserScan IFF Format}{IFF Format}
  604. @keyword{LaserScan IFF}
  605.  
  606.  The GDB library supports LaserScan's IFF text format for read, and write
  607.  access.  The following attributes will automatically
  608.  be created for each layer when reading an IFF file:
  609.  
  610.  - REPCode    Feature Code
  611.  - GroupId    FSN (Feature Serial Number)
  612.  - Angle    RO (Orientation for texts and symbols)
  613.  - Height    AC 3
  614.  - TextString    TX for text features
  615.  - ChildList    Used to group features linked by invisible lines
  616.  
  617.  Layers in the IFF file will appear as separate segments when a file is
  618.  read in.  Creation of new segments (IFF layers) is supported as well.
  619.  
  620.  Text IFF files may be created by Works programs as well as FEXPORT.  
  621.  The PACE programs FIMPORT and FEXPORT may also be used to import and 
  622.  export IFF vector data.
  623.  
  624.  See Also: {WORKS|Data File|File Creat}Works Create File, 
  625.        FIMPORT, FEXPORT
  626.  
  627. 2    LGSOWG CD-ROM
  628. @keyword{LGSOWG}{Spot Image}{ESA}{CDROM}
  629.  
  630.  LGSOWG is a magnetic tape format that can be extended to be used as
  631.  a CD-ROM distribution format.  A GDB library support has been added for
  632.  the base format.
  633.  
  634.  The directory structure and naming conventions may vary.  Examples
  635.  produced by various agencies are as follows.  In each case, you would
  636.  select the imagery file.
  637.  
  638.  - Spot Image CD-ROMs typically have a directory structure as follows.  
  639.  
  640.   /cdrom/SCENE01/VOLD_01.DAT
  641.   /cdrom/SCENE01/LEAD_01.DAT
  642.   /cdrom/SCENE01/IMAG_01.DAT   <--- Select this file
  643.   /cdrom/SCENE01/TRAI_01.DAT
  644.   /cdrom/SCENE01/NULL_01.DAT
  645.   ...
  646.  
  647.  - ESA CD-ROMS may have the following structure.  The following example
  648.  is organized in a BSQ (Band Sequential) format for one scene.  Each
  649.  band of the scene is in a separate file, so you would select and then
  650.  display the imagery, for as many bands as you want.
  651.  
  652.   ...
  653.   /cdrom/scene1/lea_01.001
  654.   /cdrom/scene1/dat_01.001      <--- Select this file and load imagery
  655.   /cdrom/scene1/tra_01.001
  656.  
  657.   /cdrom/scene1/lea_02.001
  658.   /cdrom/scene1/dat_02.001      <--- Select this file and load imagery
  659.   /cdrom/scene1/tra_02.001
  660.   ...
  661.  
  662.  - RadarSat CD-ROMS may have the following structure.
  663.  
  664.   /cdrom/lgsowg/vold_01.dat
  665.   /cdrom/lgsowg/lead_01.dat
  666.   /cdrom/lgsowg/imag_01.dat     <--- Select this file
  667.   /cdrom/lgsowg/trai_01.dat
  668.   /cdrom/lgsowg/null_01.dat
  669.  
  670.  - CCRS CD-ROMS may have the following structure.
  671.  
  672.   /cdrom/me0072/me0072.vol
  673.   /cdrom/me0072/me0072.ldr
  674.   /cdrom/me0072/me0072.img      <--- Select this file
  675.   /cdrom/me0072/me0072.trl
  676.   /cdrom/me0072/me0072.nul
  677.  
  678.  Currently none of the header or trailer files are utilized.  Only
  679.  reading and updating of the image data is supported.  It is not possible to 
  680.  create these files, nor is there any auxiliary information.  Also note that
  681.  writing is only supported if the dataset is copied to disk from the CDROM.
  682.  
  683.  LGSOWG magnetic tapes can be read with the PACE program MIL,
  684.  and LGSOWG CD-ROMs can be accessed via the PACE program LINK.
  685.  
  686.  See Also: MIL, LINK, FIMPORT
  687.  
  688. 2    LIPS (Gould)
  689.  
  690.  Gould LIPS imagefile format is supported for import and export by
  691.  the GDB library.  LIPS format is a simple pixel interleaved raster format
  692.  with a 512 byte header.  There are three forms:  8-bit monochromatic,
  693.  24-bit colour and 64-bit complex.  Of these only the first two
  694.  are supported.
  695.  
  696.  No georeferencing information, or other auxiliary data is read or written 
  697.  from or to LIPS files.  It is possible to LINK to LIPS files.
  698.  
  699.  See Also: FIMPORT, FEXPORT, LINK
  700.  
  701. 2    MicroStation Design Files (DGN)
  702.  
  703.  MicroStation DGN files are supported by the GDB library for read access only.
  704.  Both Raster and Vector data may be read from DGN files.  
  705.  
  706.  Three formats of Raster Imagery are supported:  Compressed Binary, Binary,
  707.  and Byte. The georeferencing system for raster imagery is PIXEL.
  708.  
  709.  The supported vector entities are LINEs (3), LINESTRINGs (4), SHAPEs (6), and
  710.  CURVEs (11).  Since a curve (with n points) is defined by interpolating 
  711.  through all points, except for the first and last two, 
  712.  curves are approximated as a polyline defined by the interior (n-4)
  713.  points.
  714.  
  715.  Unsupported entities are ignored during the read operation.  For COMPLEX 
  716.  elements, the individual elements which comprise a complex element are read 
  717.  in as separate structures, not as one complete structure. The georeferencing 
  718.  system for the vectors is PIXEL.
  719.  
  720.  See Also: LINK, FIMPORT
  721.  
  722. 2    NITF
  723. @keyword{NITF}
  724.  
  725.  A subset of the NITF (National Imagery Transmission Format) used by the
  726.  the U.S. Government is supported by the GDB library for reading and writing.
  727.  
  728.  Single band, uncompressed, 8-bit unsigned data can be processed.
  729.  Lookup or pseudocolour tables are not supported to date.
  730.  
  731.  NITF files where the Image Coordinate System is G (Geodetic) or C (Geocentric)
  732.  will have 'LONG/LAT' Georeferencing when read by FIMPORT.  All other 
  733.  Georeferencing is output as None or imported as 'PIXEL'.  (UTM Georeferencing
  734.  has not been implemented to date.)
  735.  
  736.  NITF files can be generated with FEXPORT.
  737.  
  738.  See Also: FIMPORT, FEXPORT
  739.  
  740.  
  741. 2    NTX (Caris Interchange format)
  742. @index{NTX (Caris Interchange format)}{NTX Format}
  743. @keyword{NTX}
  744.  
  745.  Caris Vector Interchange (NTX) files are supported by the GDB library for 
  746.  read access only.  The supported vector entities are CurvedLines (1), 
  747.  Point-to-Point Lines (3), DashedLines(4), TextWithPosition (6), 
  748.  Names (7), Symbols (8) and SpotHeigths (11). 
  749.  
  750.  Unsupported entities are ignored during the read operation.
  751.  
  752.  The supported Ellipsoids are:
  753.  
  754.  - (CL66) Clarke 1866    
  755.  - (INTL) International   
  756.  - (AUST) Australian N.S.
  757.  
  758.  The supported Projections are : 
  759.  
  760.  - (LC) Lambert Conformal     
  761.  - (ME) Mercator              
  762.  - (PO) Polyconic             
  763.  - (PS) Polar Stereographic        
  764.  - (TM) Transverse Mercator   
  765.  - (UM) Universal trans. Merc.
  766.  - (GN) Gnomonic              
  767.  - (SC) Simple Conic          
  768.  
  769.  The following attributes will automatically be created for each layer when 
  770.  reading an NTX file:
  771.  
  772.  - Repcode:     UserNumber    
  773.  - GroupId:     GroupId (Number of the entity)
  774.  - Angle:     Angle
  775.  - TextString:     TextString
  776.  
  777. 2    PCIDSK
  778. @keyword{PCIDSK}
  779.  
  780.  PCIDSK is fully supported by the GDB library.  It is the only file format
  781.  which currently allows ``adding'' segments, and one of the few which allows
  782.  data description fields to be extracted and saved to the file.
  783.  
  784.  The channel and segment description fields which appear in the Load and
  785.  Save panels are related to the most current history records in the PCIDSK
  786.  file.  When image or segment data is written to the file, a new history
  787.  record is written with the current description and the name of the Works
  788.  program.
  789.  
  790.  Currently there are no facilities in the Works programs for 
  791.  performing database maintenance functions on a PCIDSK database such
  792.  as deleting segments, deleting or adding channels, or modifying the
  793.  georeferencing information.  These functions can only be performed
  794.  using EASI/PACE programs.
  795.  
  796.  See Also: {WORKS|Data File|File Creat|PCI}Works Create Panel, CIM, PCIMOD, III
  797.  
  798. 2    PPM
  799. @keyword{PPM}{PGM}{PBM}{pbmplus}
  800.  
  801.  Raw PPM, PGM and PBM files are simple raster formats supported by the 
  802.  GDB library.  ASCII formatted PPM, PGM and PBM files are not supported.  
  803.  These files are an interchange format used by the popular `pbmplus' file 
  804.  interchange utilities.  
  805.  
  806.  - PPM: RGB format, only 24-bit supported.
  807.  - PGM: Greyscale, only 8-bit supported.
  808.  - PBM: Bitmap, all supported.
  809.  
  810.  PPM, PGM and PBM files have no auxiliary information such as georeferencing,
  811.  LUTs, or PCTs; however, georeferencing will be exported in an .aux file.
  812.  
  813.  These formats are supported for read, write and update.  The PPM and PGM
  814.  files can be accessed with the LINK program.
  815.  
  816.  See Also: LINK, FIMPORT, FEXPORT
  817.  
  818. 2    Raw Image Format
  819. @keyword{Raw image format}{User described image files}
  820.  
  821.  The GDB library has a facility for reading and writing imagery in user
  822.  described raw files.  The files are described to the GDB layer by a 
  823.  complex naming convention.  This is not intended for interactive use,
  824.  but may be important in some batch or scripted environments.
  825.  
  826.  The naming convention for raw files is:
  827.   
  828.   RAW:::filename xsize ysize bands [offset {8U/16U/16S/32R} {PIXEL/LINE/BAND}]
  829.     [*CHANNEL chan_num {8U/16U/16S/32R} offset pixel_off line_off
  830.                         [swapped/unswapped]]*
  831.  
  832.  The absolute simplest file description would describe a band sequential
  833.  file of 8-bit data that is tightly packed with no header.  For example,
  834.  the following would describe the file ``raw.dat'' as being three bands,
  835.  512 pixels by 512 lines.
  836.  
  837.   RAW:::raw.dat 512 512 3
  838.  
  839.  A slightly more complex form can be used to define any file that could be
  840.  read with IMAGERD.  This adds the offset to the first byte of imagery, 
  841.  the data type and the interleaving mode.  The following description defines
  842.  the same file as the previous one but it explicitly states that the offset
  843.  to the first byte of imagery is zero, and the data is 8-bit unsigned,
  844.  band interleaved.
  845.  
  846.   RAW:::raw.dat 512 512 3 0 8U BAND
  847.  
  848.  Many file organizations cannot be described this way.  For instance, files
  849.  with more than one data type, or files with spaces between bands or 
  850.  byte swapped multi-byte data cannot be described this way.  In these cases,
  851.  it is possible to describe the layout of each channel.  The following 
  852.  description defines the
  853.  same raw.dat files as in the previous two descriptions.  For each channel 
  854.  a data type, image offset and swapping capability is provided.  
  855.  
  856.   RAW:::raw.dat 512 512 3 *Channel 1 8U 0      1 512 unswapped
  857.                           *Channel 2 8U 262144 1 512 unswapped
  858.                           *Channel 3 8U 524288 1 512 unswapped
  859.  
  860.  The offset is to the first byte of data in the channel,
  861.  so channel two data starts at byte 262144 in the file.  The
  862.  second offset is from one pixel of data on the same scanline
  863.  to the next pixel of data on the same scanline.  The third offset is 
  864.  the offset from the beginning of one scanline to the beginning of the
  865.  next.  The swap flag indicates whether the data is in little endian
  866.  order or not.  Little endian byte order has the least significant byte
  867.  of the word first, and is found on Intel and VAX machines.  This is
  868.  considered `swapped'.  Big endian machines such as the Motorola and
  869.  sun are considered `unswapped'.  The default is the native byte order
  870.  of the current machine.
  871.  
  872.  A more interesting example might be a 300x400 one-band file with little
  873.  endian 16-bit unsigned data starting after a one block (512-byte) header.
  874.  
  875.   RAW:::testi2.dat 300 400 1 *Channel 1 16U 512 2 1024 swapped
  876.  
  877.  User defined raw files are supported for reading and writing.  Georeferencing
  878.  (or Projection) information will be written to an auxiliary file which has
  879.  the same name as the data file but with the extension ``.aux''.
  880.  
  881.  See Also: IMAGERD, PCIADD2, FEXPORT 
  882.  
  883. 2    RST (Works ASCII RST)
  884. @index{RST (text) Format}
  885. @keyword{RST}
  886.  
  887.  The RST, ASCII Representation Style Table, files are supported by GDB for 
  888.  read and write. The RST is used to attach a representation on vector 
  889.  layers in some Works applications. It consists of a list of representation 
  890.  styles (REPCode, integer value) with a graphical primitive and some 
  891.  parameters for each REPCode in the following format:
  892.  
  893.   GDBRST 1.0 Representation Style Table
  894.   #
  895.   Table <Table_descriptive_name>
  896.   Symbols <Symbol_dataset_filename>
  897.   Groups
  898.   <GroupId>, <Description>
  899.   <GroupId>, <Description>
  900.   ...
  901.   ...
  902.   <GroupId>, <Description>
  903.   Repcodes
  904.   <Repcode>,<Part_Number>,<GroupId>,<PrimId>,<Priority>,<Description>
  905.           <Parameter_name1> = <Value>
  906.           <Parameter_name2> = <Value>
  907.         ...
  908.           <Parameter_nameN> = <Value>
  909.   <Repcode>,<Part_Number>,<GroupId>,<PrimId>,<Priority>,<Description>
  910.           <Parameter_name1> = <Value>
  911.           <Parameter_name2> = <Value>
  912.         ...
  913.           <Parameter_nameN> = <Value>
  914.   ...
  915.   ...
  916.   EndTable
  917.  
  918.  Only one RST can be stored in each file and it is always in segment 1.
  919.  
  920.  An empty text file may be produced if exported from a file that does not
  921.  contain an RST.
  922.  
  923.  
  924. 2    Siemens SICAD (.SQD)
  925. @keyword{Siemens SICAD SQD}
  926.  
  927.  The GDB library supports Siemens SICAD .SQD vector files for import and
  928.  export.  Only the line (ETYP=LY) and point (ETYP=PG1) structures are
  929.  supported on import and export.  All other structures are
  930.  silently ignored.
  931.  
  932.  There are a variety of attributes that could be extracted with SQD vector
  933.  data; however, there is only one Attribute field per structure in the
  934.  PCIDSK vector segment.  Currently the GDB library extracts the value of
  935.  the SQD ENUM field as the attribute, and ignores the STU, EB, NAM, PKZ 
  936.  and PNR fields.  On export, all fields except the ENUM are initialized to
  937.  a legal value.
  938.  
  939.  Due to the loss of much of the attribute and structural information, it is
  940.  generally not practical to import SQD files into EASI/PACE and then export
  941.  them to SICAD again after performing some operations.  
  942.  
  943.  SICAD georeferencing information is lost when importing SICAD files, and
  944.  a units string of METRE is assumed.
  945.  
  946.  See Also: FIMPORT, FEXPORT
  947.  
  948. 2    SPANS Vector Archive
  949. @keyword{Tydac SPANS VEC/VEH}
  950. @index{SPANS Vector Archive format}
  951.  
  952.  The GDB library supports the SPANS Archive format for both read and write 
  953.  operations.  The SPANS archive format consists of two files, which have a 
  954.  common basename and .VEC and .VEH extensions.  The VEC file contains the 
  955.  actual data, whereas the VEH is the header file and describes the contents 
  956.  of the VEC file.  In addition there may be a .TBA file which contains
  957.  the attribute records associated with the VEC/VEH file.
  958.  
  959.  All data sections are supported for read operations, any corresponding
  960.  TBA file will also be read in.
  961.  
  962.  Only an ARCS data sections are written to the VEC file.  This
  963.  vector file is written out in ARC format, without topology,
  964.  and composed of unclean lines.  Any attributes assocaited with the arcs
  965.  will be written out to the corresponding .TBA file.
  966.  
  967.  SPANS Vector files may not be modified.
  968.  
  969.  See Also: FEXPORT, FIMPORT, {..|}TBA
  970.  
  971. 2    SPANS Raster
  972. @keyword{Tydac SPANS RNH RNL}
  973. @index{SPANS Raster}{RNH}{RNL}
  974.  
  975.  The Tydac SPANS raster format can store various raster data types including
  976.  8-bit unsigned, 16-bit signed and 16-bit unsigned.  The GDB library
  977.  supports SPANS Raster format for import and export.  SPANS Raster header 
  978.  files have the extension .RNH.
  979.  
  980.  Of the many possible datatypes of SPANS Raster files, only 8U, 16U and 16S
  981.  are supported.  All other data types, including some SPANS Raster
  982.  files which run length encoded or ASCII encoded, are not supported.
  983.  
  984.  SPANS Raster files are supported by the LINK program.  Projection and 
  985.  georeferencing information is supported on import and export for most 
  986.  projection and ellipsoid types; however, there are cases that do not 
  987.  translate between systems.
  988.  
  989.  SPANS Raster files do not contain any other auxiliary data items.  SPANS
  990.  colour table files are not supported at this time.
  991.  
  992.  See Also: LINK, FEXPORT, FIMPORT
  993.  
  994. 2    SPOTView GIS-GEOSPOT
  995. @keyword{Spot Image}{GEOSPOT}
  996.  
  997.  The SPOTView GIS-GEOSPOT image format is a GIS ready image product 
  998.  distribution format used by Spot Image.  The GDB library supports the
  999.  SPOTView 4.0 format, now being distributed by some Spot Image distributor.
  1000.  The software has also been successfully used with some SPOTView 1.5 format
  1001.  datasets.
  1002.  
  1003.  The SPOTView distribution format includes a number of auxiliary files
  1004.  organized in two levels of directories.  In each subdirectory there should be
  1005.  one or more files ending in the extension .BIL and .HDR.  The .HDR file 
  1006.  contains georeferencing and structural information while the .BIL file
  1007.  contains just image data.  The user must select the .BIL file in order to
  1008.  access the dataset.
  1009.  
  1010.  Georeferencing information is handled for some projections; however, due
  1011.  to limitations in the available documentation some Spot Image supported
  1012.  projections are not currently full supported.
  1013.  
  1014.  There is no support for exporting in SPOTView format.
  1015.  
  1016.  See Also: FIMPORT
  1017.  
  1018. 2    Sun Raster
  1019. @keyword{Sun Raster}
  1020.  
  1021.  Pseudocoloured, greyscale, and RGB Sun Raster files are supported 
  1022.  by the GDB library.  This is a format generated by several Sun utilities
  1023.  as well as many popular scanners.
  1024.  
  1025.  Sun Raster files will have one or three image channels, and may 
  1026.  contain a PCT, or three LUTs depending on the configuration. Sun Raster
  1027.  files do not contain any georeferencing information, nor do they
  1028.  contain any fields describing the data.  Sun Raster files can be 
  1029.  created using the ``New'' menu selection in Works programs.
  1030.  
  1031.  See Also: {WORKS|Data File|File Creat|Sun}Works Create Panel,
  1032.        LINK, FIMPORT, FEXPORT
  1033.  
  1034. 2    TARGA
  1035. @keyword{Targa Raster} 
  1036.  
  1037.  Two forms of Targa raster files are currently supported:  
  1038.  uncompressed True-Color and Black & White formats.  Color-mapped images 
  1039.  and any run-length encoded images are not supported at this time.
  1040.  
  1041.  For Targa True-Color files 16, 24, and 32-bit images are all supported.
  1042.  A True-Color file will appear as a three channel file, each file will
  1043.  contain either the Red,Green or Blue component of the color image.
  1044.  Black & White Targa files will appear as a file with a single channel.
  1045.  
  1046.  The GDB layer also supports the output of Targa files.  Again only
  1047.  True-Color and Black & White images are supported for write operations.
  1048.  The GDB layer will only output True-Color 24-bit files, which require as
  1049.  input three 8-bit channels.  If a single channel is to be written out,
  1050.  the output will be a black and white Targa file.
  1051.  
  1052.  See Also: {WORKS|Data File|File Creat|Sun}Works Create Panel,
  1053.         LINK, FIMPORT, FEXPORT
  1054. 2    TBA (.tba)
  1055. @keyword{TBA}
  1056.  TBA is a database (attribute table) format associated with Spans VEC/VEH
  1057.  files.  It is supported for import and export by the GDB library, 
  1058.  and is treated as a single vector layer with no vertices.
  1059.  
  1060.  TBA files have no concept of a georeferencing system, and the produced
  1061.  attribute layer will be marked as being in the METRE georeferencing system.
  1062.  
  1063.  TBA files can be imported with FIMPORT, and exported with FEXPORT. 
  1064.  
  1065.  TBA files are associated with VEC/VEH files and need not be directly
  1066.  read or written. Reading in a VEC/VEH file with an associated tba file
  1067.  will read in the TBA file automatically. Similarly writting out vectors
  1068.  to VEC/VEH format will produce a TBA file for the attributes.
  1069.  
  1070.  
  1071.  See Also: FIMPORT, FEXPORT, {..|}SPANS Vector Archive
  1072.  
  1073. 2    TIFF
  1074. @keyword{TIFF}
  1075.  
  1076.  Several common forms of TIFF files are supported by the GDB library.
  1077.  In particular, it is possible to read TIFF B (Bitmap), TIFF R 
  1078.  (RGB), TIFF P (Palette), and TIFF G (Greyscale).  Files with none,
  1079.  LZW, or PackBits compression are supported, as well as those with
  1080.  some other compression schemes.
  1081.  
  1082.  TIFF G files contain one channel of imagery; TIFF B files contain
  1083.  a single bitmap; TIFF P files contain a single channel of imagery 
  1084.  and a pseudocolour segment.  To properly view the image, it is
  1085.  necessary to load both the imagery and the segment, and place the display in 
  1086.  pseudocolour mode.  TIFF R files contain three image channels (RGB).  
  1087.  
  1088.  TIFF files do not support LUTs.  No descriptive data is extracted from 
  1089.  the TIFF file, nor is any written back.  
  1090.  
  1091.  Georeferencing information in GeoTIFF format can be written to, and 
  1092.  extracted from TIFF files.  GeoTIFF is a new (1995) standard expected to 
  1093.  be adopted by many companies in the geomatics industry.  PCI's support
  1094.  includes UTM, State Plane, Geographic, Lambert Conformal Conic, Transverse
  1095.  Mercator, Mercator, and Oblique Mercator. 
  1096.  
  1097.  Any uncompressed TIFF file that can be read, can also be written
  1098.  to; however, this is not true of compressed TIFF files which are
  1099.  read only.
  1100.  
  1101. @ifhlp
  1102.  The Tagged Image File Format (TIFF) was designed to be an
  1103.  extendible, all-purpose standard for image interchange.  A TIFF
  1104.  file consists of an image, with a list of information tags
  1105.  describing the image.  A variety of image orderings is
  1106.  possible using TIFF files, as well as various types of 
  1107.  compression.  The TIFF format is extendible, as new information
  1108.  tags can be added at will, and TIFF file readers are required
  1109.  to ignore tags they do not understand.
  1110.  
  1111.  Because it is realistically impossible for a TIFF reader to
  1112.  read all possible TIFF format files, a small number of TIFF
  1113.  subset classifications have been developed.  Requirements for
  1114.  reading and writing these classified files have also been
  1115.  developed.
  1116.  
  1117.  Relevant classes are TIFF B (Bilevel or Bitmap), TIFF G
  1118.  (Grey level), TIFF P (Palette or Pseudocolour) and TIFF R
  1119.  (RGB).  You should use FIMPORT to read any of these formats.
  1120.  FEXPORT is capable of generating any of these TIFF formats.
  1121.  
  1122.  The supported classes have a variety of possible compression
  1123.  schemes, of which LZW, PackBits, CCITT 3 Fax and CCITT 4 Fax
  1124.  are known to work.  PCI's TIFF support does not include 16-bit
  1125.  data, or any other data sizes besides 1-bit (bitmap) and 8-bit.
  1126.  
  1127.  PCI would like to thank Sam Leffler and SGI for providing the
  1128.  ``libtiff'' TIFF library, on which all of PCI's TIFF support is 
  1129.  based.
  1130.  
  1131.  A libtiff based suite of public domain Unix tools for dealing 
  1132.  with TIFF files is available by anonymous ftp from sgi.com on 
  1133.  the Internet.  These tools include functions to compress and 
  1134.  uncompress TIFF files using most known TIFF compression schemes.
  1135.  
  1136.  Additional information on the TIFF format was extracted from the
  1137.  book ``Practical Image Processing in C'' by Craig A. Lindley from
  1138.  Wiley Professional Computing.  
  1139. @end
  1140.  
  1141.  See Also: {WORKS|Data File|File Creat|TIFF}Works Create Panel, 
  1142.        FIMPORT, LINK, FEXPORT
  1143.  
  1144. 2    UK National Transfer Format (.NTF)
  1145. @keyword{NTF}{Ordnance Survey}
  1146.  
  1147.  The GDB library supports for import most NTF 2.0 format files provided by the
  1148.  Ordnance Survey in the United Kingdom.  All Ordnance Survey
  1149.  data provided in 1994 and on will be in NTF 2.0 format.  Earlier
  1150.  formats are not guaranteed to work.
  1151.  
  1152.  The Land-Line, Oscar, 1:625000 Topographic, 1:250000 Topographic,
  1153.  1:50000 Contour and 1:50000 DTM may be supported, though some
  1154.  structures may be lost with some of these formats.  
  1155.  Boundary-Line files are not supported.  All of these formats are
  1156.  vector with the exception of the DTM files which are raster height fields
  1157.  constructed from contour information.
  1158.  
  1159.  There are a variety of attributes that can be extracted with vector
  1160.  data; however, there is only one Attribute field per structure in the
  1161.  PCIDSK vector segment.  To get around this limitation, NTF files are
  1162.  represented as having two segments.  Each contains the same vectors, but
  1163.  with different attributes.  Segment 1 of an NTF vector file will contain
  1164.  vectors with the feature code number as the attribute.  The second segment
  1165.  will contain vectors with the value as the attribute.  
  1166.  
  1167.  All georeferenced information for NTF files is in the UK's National Grid 
  1168.  projection which is a type of Transverse Mercator.  The GDB library will
  1169.  represent vector and raster data with the appropriate TM projection
  1170.  characteristics:
  1171.  
  1172.   - Reference Longitude: 49.0
  1173.   - Reference Latitude: 2.0
  1174.   - False Easting: 400000
  1175.   - False Northing: -100000
  1176.   - Scale: 0.9996012717
  1177.   - Ellipsoid: Airy 1830 (E009)
  1178.  
  1179.  There is no support for updating, or writing NTF files, nor can the DTM
  1180.  files be LINKed to.
  1181.  
  1182.  See Also: FIMPORT
  1183.  
  1184. 2    UNIDSK-VMS
  1185. @keyword{UNIDSK-VMS}
  1186.  
  1187.  UNIDSK-VMS image files are partially supported by the GDB library.
  1188.  UNIDSK-VMS is a file format used primarily by the Canada Center for
  1189.  Remote Sensing (CCRS) and related facilities.  It is related to the
  1190.  original PCI UNIDSK format, which was replaced by PCIDSK several 
  1191.  years ago.
  1192.  
  1193.  UNIDSK-VMS is supported for read and update access, but new UNIDSK-VMS
  1194.  files cannot be created.  No georeferencing, or auxiliary information is
  1195.  extracted from UNIDSK-VMS files.
  1196.  
  1197.  Only 8-bit BIL, 16-bit BIL, 8-bit BSQ, and 16-bit BSQ UNIDSK-VMS files
  1198.  are currently supported, although only 8-bit BIL has been tested.  There
  1199.  are no PACE programs specifically for reading or writing UNIDSK-VMS 
  1200.  files but the LINK program does support this format.
  1201.  
  1202.  See Also: LINK
  1203.  
  1204. 2    VICAR
  1205. @keyword{VICAR}{AVIRIS}
  1206.  
  1207.  VICAR format can be read by the GDB library.  VICAR format is used for 
  1208.  AVIRIS data (Airborne Visible/Infrared Imaging Spectrometer).
  1209.  
  1210.  Writing or updating VICAR format is not supported by the GDB library.
  1211.  
  1212.  See Also: FIMPORT
  1213.  
  1214. 2    WorldMap
  1215. @keyword{WorldMap}{JEBCO}
  1216.  
  1217.  WorldMap is an image format originating in the former Soviet Union.  Data is
  1218.  distributed in the United States by JEBCO.  The example files provided
  1219.  by JEBCO are 1 band, and the assumption is that all WorldMap files
  1220.  are 1 band.
  1221.  
  1222.  WorldMap files are supported for reading and updating imagery.  It is
  1223.  also possible to LINK to WorldMap files.  No georeferencing or other 
  1224.  auxiliary information is supported for WorldMap files.  It is also not 
  1225.  possible to create WorldMap files.
  1226.  
  1227.  WorldMap scenes consist of a number of related files, including a header
  1228.  file which must have the extension .rh, and the raw imagery file which
  1229.  must have an extension of .bsq or .bsf.w.  Any of these three files
  1230.  may be selected to access the WorldMap image.
  1231.  
  1232.  See Also: LINK, FIMPORT
  1233.  
  1234. 2    xBase (.dbf)
  1235.  
  1236.  xBase is a database (attribute table) format supported by many PC 
  1237.  applications, and is a standardized form the of DBase IV file format.  
  1238.  It is supported for import and export by the GDB library, and is treated
  1239.  as a single vector layer with no vertices.
  1240.  
  1241.  xBase files have no concept of a georeferencing system, and the produced
  1242.  attribute layer will be marked as being in the METRE georeferencing system.
  1243.  
  1244.  xBase files can be imported with FIMPORT, and exported with FEXPORT.  
  1245.  
  1246.  See Also: FIMPORT, FEXPORT, {..|}Arc/Info Shapefile
  1247.  
  1248. 2    X Window Dump
  1249. @keyword{X Window Dump}
  1250.  
  1251.  Pseudocoloured, greyscale, and RGB X Window dump files are supported 
  1252.  by the GDB library.  This is a format generated by the widely available
  1253.  xwd program available on many Unix workstations for capturing screen 
  1254.  dumps.  
  1255.  
  1256.  X Window Dump files will have one or three image channels, and may 
  1257.  contain a PCT, or three LUTs depending on the configuration.  X Window
  1258.  dump files do not contain any georeferencing information, nor do they
  1259.  contain any fields describing the data.  X Window Dump files can be 
  1260.  created using the ``New'' menu selection in Works programs.
  1261.  
  1262.  See Also: {WORKS|Data File|File Creat|X Win}Works Create Panel, 
  1263.            LINK, FEXPORT, FIMPORT
  1264.  
  1265. 1    Programs Using GDB Library
  1266.  
  1267.  The following programs are intended to be able to access many, or all
  1268.  GDB file types, and may be considered to be generic import and export
  1269.  programs.
  1270.  
  1271.  See Also: LINK, FIMPORT, FEXPORT, IIIC, CDLC, {IWORKS}ImageWork
  1272.